package com.ctshk.rpc.order.custom.req.order;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 收据作废req
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-03-02
 */
@Data
@ApiModel(value="收据作废req", description="收据作废req")
public class CustomOrderReceiptInvalidReq implements Serializable {

    @NotNull(message = "收据记录ID不能为空")
    @ApiModelProperty(value = "收据记录ID",required = true)
    private Long id;

    @ApiModelProperty(value = "作废原因")
    private String voidReason;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

}
